<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>xls_demo</title>
	<link rel="stylesheet" type="text/css" href="/static/css/layout.css"/>
	<link rel="stylesheet" type="text/css" href="/static/css/base.css"/>
	<link rel="stylesheet" type="text/css" href="/static/css/color.css"/>
</head>
<body>
	<div id="content">
		<div id="container">
			<div id="header">
				<h1 class="h1">This is a xlrd & xlwt demo</h1>
				<ul class="nav">
					<li><a href="/home">Home</a></li>
					<li><a href="/register">Register</a></li>
					<li><a href="/login">Login</a></li>
					<li><a href="/edit">Edit</a></li>
					<li><a href="/import">Import</a></li>
					<li><a href="/export">Export</a></li>
					<!-- <li><a href="/import/">Import</a></li> -->
					<li class="clear"></li>
				</ul>
			</div>

			<div id="main">
				<form class="form" action="" method="POST">
					<table class="table">
					{{ form.as_table }}
					</table>
					{% if form %}
					<input class="submit" type="submit" value="提交">
					{% endif %}
				</form>
			</div>
		</div>
		<div id="footer"></div>
	</div>
</body>
</html>